﻿using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.DTO
{
    /// <summary>
    /// 秒杀列表返回dto数据层
    /// </summary>
    public class GroupPurchaseSeckillDTO
    {

        /// <summary>
        /// 序列
        /// </summary>
        public System.Int32 id { get; set; }
        /// <summary>
        /// 促销名称
        /// </summary>
        public System.String name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public System.Int32 type { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public System.Int32 sort { get; set; }
        /// <summary>
        /// 每人限购数量
        /// </summary>
        public System.Int32 maxNums { get; set; }
        /// <summary>
        /// 每个商品活动数量
        /// </summary>
        public System.Int32 maxGoodsNums { get; set; }
        /// <summary>
        /// 最大领取数量
        /// </summary>
        public System.Int32 maxRecevieNums { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public System.DateTime startTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public System.DateTime endTime { get; set; }
        /// <summary>
        /// 是否排他
        /// </summary>
        public System.Boolean isExclusive { get; set; }
        /// <summary>
        /// 是否自动领取
        /// </summary>
        public System.Boolean isAutoReceive { get; set; }
        /// <summary>
        /// 是否开启
        /// </summary>
        public System.Boolean isEnable { get; set; }
        /// <summary>
        /// 有效天数
        /// </summary>
        public System.Int32 effectiveDays { get; set; }
        /// <summary>
        /// 有效小时
        /// </summary>
        public System.Int32 effectiveHours { get; set; } 
        /// <summary>
        /// 倒计时
        /// </summary>
        public System.Int32 timestamp { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public System.Int32 startStatus { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public string goodBrief { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string goodName { get; set; }
        /// <summary>
        /// 商品缩略图
        /// </summary>
        public string goodThumbnail { get; set; }
        /// <summary>
        /// 商品图集
        /// </summary>
        public string goodImages { get; set; }
        /// <summary>
        /// 商品库存
        /// </summary>
        public int goodStock { get; set; }
        /// <summary>
        /// 商品浏览量
        /// </summary>
        public int goodViewCount { get; set; }
        /// <summary>
        /// 商品单位
        /// </summary>
        public string goodUnit { get; set; }
        /// <summary>
        /// 商品市场价
        /// </summary>
        public decimal mktPrice { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal price { get; set; }
    }
}